/*
* @Author: bin
* @Date:   2016-06-26 23:38:10
* @Last Modified by:   bin
* @Last Modified time: 2016-06-29 02:21:09
*/

'use strict';
$(function() {
    var time1 = null;
    function hide() {
        time1 = setTimeout(function() {
            $("#preloader").hide();
        }, 2000);
    }
    hide();
    $("#nav-toggle-open").on("click", function() {
        $("#navigation").slideDown();
    });

    $("#nav-toggle-close").on("click", function() {
        $("#navigation").slideUp();
    });
});